﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GMPP
{
    public partial class ShowPic : Form
    {
        public ShowPic(Bitmap bm)
        {
            InitializeComponent();
            this.pictureBox1.Dock = DockStyle.Fill;
            this.pictureBox1.Image = bm;
            this.Width = bm.Width;
            this.Height = bm.Height;
            this.Show();
        }

        public ShowPic(Image bm)
        {
            InitializeComponent();
            this.pictureBox1.Dock = DockStyle.Fill;
            this.pictureBox1.Image = bm;
            this.Width = bm.Width;
            this.Height = bm.Height;
            this.Show();
        }
    }
}
